package com.ruoyi.buy.domain.entity.PO;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购邮寄对象 buy_purchase_post
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class BuyPurchasePostNew extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表ID */
    @Excel(name = "主表ID")
    private Long nMainId;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String vBillNo;

    /** 邮递编号 */
    @Excel(name = "邮递编号")
    private String vPostNo;

    /** 邮递方式 */
    @Excel(name = "邮递方式")
    private String vPostType;

    /** 经办人 */
    @Excel(name = "经办人")
    private String oprBy;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 物流明细信息 */
    private List<BuyPurchasePostItem> buyPurchasePostItemList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setnMainId(Long nMainId) 
    {
        this.nMainId = nMainId;
    }

    public Long getnMainId() 
    {
        return nMainId;
    }
    public void setvBillNo(String vBillNo) 
    {
        this.vBillNo = vBillNo;
    }

    public String getvBillNo() 
    {
        return vBillNo;
    }
    public void setvPostNo(String vPostNo) 
    {
        this.vPostNo = vPostNo;
    }

    public String getvPostNo() 
    {
        return vPostNo;
    }
    public void setvPostType(String vPostType) 
    {
        this.vPostType = vPostType;
    }

    public String getvPostType() 
    {
        return vPostType;
    }
    public void setOprBy(String oprBy) 
    {
        this.oprBy = oprBy;
    }

    public String getOprBy() 
    {
        return oprBy;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<BuyPurchasePostItem> getBuyPurchasePostItemList()
    {
        return buyPurchasePostItemList;
    }

    public void setBuyPurchasePostItemList(List<BuyPurchasePostItem> buyPurchasePostItemList)
    {
        this.buyPurchasePostItemList = buyPurchasePostItemList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nMainId", getnMainId())
            .append("vBillNo", getvBillNo())
            .append("vPostNo", getvPostNo())
            .append("vPostType", getvPostType())
            .append("oprBy", getOprBy())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("buyPurchasePostItemList", getBuyPurchasePostItemList())
            .toString();
    }
}
